package cn.myzqu.sign.user.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OsUser {
    @TableId(type= IdType.AUTO )
    private Integer id;

    private String code;

    private String realName;

    private String nickName;

    private String icon;

    private Byte gender;

    private Date birth;

    private String label;

    private String brief;

    private String phone;

    private String email;

    private String qq;

    private String wechat;

    private String openId;

    private Byte type;

    private Integer rank;

    private String registerBy;

    private Date registerTime;

    private Date updateTime;



    @Override
    public String toString() {
        return "OsUser{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", realName='" + realName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", icon='" + icon + '\'' +
                ", gender=" + gender +
                ", birth=" + birth +
                ", label='" + label + '\'' +
                ", brief='" + brief + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", qq='" + qq + '\'' +
                ", wechat='" + wechat + '\'' +
                ", openId='" + openId + '\'' +
                ", type=" + type +
                ", rank=" + rank +
                ", registerBy='" + registerBy + '\'' +
                ", registerTime=" + registerTime +
                ", updateTime=" + updateTime +
                '}';
    }
}